package model

type Activity struct {
	BaseModel
	Title   string `gorm:"type:varchar(50);not null"json:"title"`
	Image   string `gorm:"type:varchar(255);"json:"image"`
	Content string `gorm:"type:text;not null"json:"content"`
	Grade   int    `gorm:"type:tinyint(1);default 0;not null;COMMENT '0社区级，1区级，2市级'"json:"grade"`
}
